import wx

import resource.string.menu.image.post as r
import resource.toolbar as rTool

class Post(wx.Menu):
    """Post menu"""
    
    def __init__(self, *args, **kwargs):
        wx.Menu.__init__(self, *args, **kwargs)
        
        self.save = wx.MenuItem(self, -1, r.save.label, r.save.help)
        self.save.Bitmap = rTool.Disk.Bitmap
        self.save.Enable(False)
        self.AppendItem(self.save)

        self.delete = wx.MenuItem(self, -1, r.delete.label, r.delete.help)
        self.delete.Bitmap = rTool.CrossScript.Bitmap
        self.delete.Enable(False)
        self.AppendItem(self.delete)

        self.queue = wx.MenuItem(self, -1, r.queue.label, r.queue.help)
        self.queue.Bitmap = rTool.WeatherCloud.Bitmap
        self.queue.Enable(False)
        self.AppendItem(self.queue)
        
        self.download = wx.MenuItem(self, -1, r.download.label, r.download.help)
        self.download.Bitmap = rTool.Drive.Bitmap
        self.download.Enable(False)
        self.AppendItem(self.download)
        
        self.AppendSeparator()
        
        self.export = wx.MenuItem(self, -1, r.export.label, r.export.help)
        self.export.Bitmap = rTool.ImageExport.Bitmap
        self.export.Enable(False)
        self.AppendItem(self.export)
